package com.ccys.db.vo.app.callVideoScreen;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author：XLY
 * @Date：2024/1/24 0024
 */

@Data
public class GetListLaboratoryVo {
    //{
    //    "errorCode": 0,
    //    "message": "Success",
    //    "data": {
    //        "Laboratories": [
    //            {
    //                "LabBloodPressureTopValue": 0.0,
    //                "LabBloodPressureBottomValue": 0.0,
    //                "LabHeartRate": 0.0,
    //                "LabId": "2a2676d4-3d55-4fe0-993b-4c86019afc65",
    //                "LabName": "bl S test",
    //                "LabResultPDF": "https://s3-ap-southeast-1.amazonaws.com/prv.staging.whitecoat.global/LaboratoryResult/WC-701%20-%20App%20Intro%20Pages%20-%2020190815.pdf?AWSAccessKeyId=AKIAIHBBQGPKQR7KO5BQ&Expires=1706608115&Signature=tCtb401F9cf8pyjkgz4Qccy4Fgo%3D",
    //                "LabRefNumber": "123124314",
    //                "LabScreeningDate": "2024-01-10T00:00:00.00",
    //                "LabScreeningTime": "",
    //                "PatientName": "bl S",
    //                "Vendor": "RadLink Diagnostic Imaging (S) Pte Ltd",
    // 3 个 字段 未知
    //                "IsSetReminder": false,
    //                "ReminderId": "",
    //                "IsFilledBooking": false
    //            }
    //        ],
    //        "Total": 1
    //    }
    //}
    private List<LaboratoryVo> Laboratories;

    private Integer total;

    @Data
    public static class LaboratoryVo{

        @JsonProperty("LabBloodPressureTopValue")
        private BigDecimal labBloodPressureTopValue;

        @JsonProperty("LabBloodPressureBottomValue")
        private BigDecimal labBloodPressureBottomValue;

        @JsonProperty("LabHeartRate")
        private BigDecimal labHeartRate;

        @JsonProperty("LabId")
        private String labId;

        @JsonProperty("LabName")
        private String labName;

        @JsonProperty("LabResultPDF")
        private String labResultPDF;

        @JsonProperty("LabRefNumber")
        private String labRefNumber;

        @JsonProperty("LabScreeningDate")
        private Date labScreeningDate;

        @JsonProperty("LabScreeningTime")
        private String labScreeningTime;

        @JsonProperty("PatientName")
        private String patientName;

        @JsonProperty("Vendor")
        private String vendor;

        @JsonProperty("IsSetReminder")
        private boolean isSetReminder;

        @JsonProperty("ReminderId")
        private String reminderId;

        @JsonProperty("IsFilledBooking")
        private boolean isFilledBooking;
    }
}
